import { createContext } from "react";
export const state = {
  todoList: [
    {title:'宝马',date:'1978',priority:'1'},
      {title:'凯美瑞',date:'1999',priority:'2'},
      {title:'夏利',date:'2003',priority:'3'},
      {title:'奔驰',date:'1978',priority:'1'},
      {title:'迈腾',date:'1999',priority:'2'},
      {title:'桑塔纳',date:'2003',priority:'3'},
      {title:'帕沙特',date:'1999',priority:'2'},
      {title:'奥迪',date:'1978',priority:'1'},
  ],
}

const ContextTodo = createContext(state)

export default ContextTodo